<template>
  <div>
    <span v-for="(i, k) in arr" :key="k"
      ><input type="checkbox" v-model="check" :value="i" />{{ i }}</span
    >
    <p v-for="(i, k) in check" :key="k">{{ i }}</p>
  </div>
</template>

<script>
export default {
  //   name: "",
  components: {},
  props: {},
  data() {
    return {
      arr: ["科幻", "喜剧", "动漫", "冒险", "科技", "军事", "娱乐", "奇闻"],
      check: [],
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
